Update a user in a multi-user OAuth source connector
PATCH/org/:organizationId/connectors/sources/:sourceConnectorId/users
⚠️ SDK Recommended: We strongly recommend using the Vectorize Connect SDK which handles OAuth flows and token management for you.
This endpoint updates a user's configuration in a multi-user OAuth connector (types ending with '_OAUTH_MULTI' or '_OAUTH_MULTI_CUSTOM').
Direct API usage is only recommended if:
- Your programming language doesn't have SDK support (e.g., PHP, Ruby)
- You have existing OAuth infrastructure
- You need custom OAuth flow control
Requirements when updating tokens/files:
- Valid OAuth tokens from a fresh OAuth flow
- For Dropbox/Google Drive: New refresh token
- For Notion: New access token
- Updated selectedFiles from the new OAuth callback
Note: The userId should match the one used when adding the user.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
User successfully updated in the source connector
Invalid request
Unauthorized
Forbidden
Not found
Internal server error